<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./jquery.js"></script>
</head>

<body>
    <div id="result"></div>

    <script>
        // 课后作业1
        // 1.将下面字符串改用模板字符串实现?
        let person = {
            name: 'zs',
            age: 'age'
        }
        // $("#result").append("He is " + person.name + " " + "and we wish to know his" + person.age + ".That is all");
        $("#result").append(`He is ${person.name} and we wish to know his ${person.age}. That is all.`);




    </script>
</body>

</html>